package com.wenwu.common.bean;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class RelicsExcavationExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RelicsExcavationExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andExcIdIsNull() {
            addCriterion("exc_id is null");
            return (Criteria) this;
        }

        public Criteria andExcIdIsNotNull() {
            addCriterion("exc_id is not null");
            return (Criteria) this;
        }

        public Criteria andExcIdEqualTo(Integer value) {
            addCriterion("exc_id =", value, "excId");
            return (Criteria) this;
        }

        public Criteria andExcIdNotEqualTo(Integer value) {
            addCriterion("exc_id <>", value, "excId");
            return (Criteria) this;
        }

        public Criteria andExcIdGreaterThan(Integer value) {
            addCriterion("exc_id >", value, "excId");
            return (Criteria) this;
        }

        public Criteria andExcIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("exc_id >=", value, "excId");
            return (Criteria) this;
        }

        public Criteria andExcIdLessThan(Integer value) {
            addCriterion("exc_id <", value, "excId");
            return (Criteria) this;
        }

        public Criteria andExcIdLessThanOrEqualTo(Integer value) {
            addCriterion("exc_id <=", value, "excId");
            return (Criteria) this;
        }

        public Criteria andExcIdIn(List<Integer> values) {
            addCriterion("exc_id in", values, "excId");
            return (Criteria) this;
        }

        public Criteria andExcIdNotIn(List<Integer> values) {
            addCriterion("exc_id not in", values, "excId");
            return (Criteria) this;
        }

        public Criteria andExcIdBetween(Integer value1, Integer value2) {
            addCriterion("exc_id between", value1, value2, "excId");
            return (Criteria) this;
        }

        public Criteria andExcIdNotBetween(Integer value1, Integer value2) {
            addCriterion("exc_id not between", value1, value2, "excId");
            return (Criteria) this;
        }

        public Criteria andExcCodeIsNull() {
            addCriterion("exc_code is null");
            return (Criteria) this;
        }

        public Criteria andExcCodeIsNotNull() {
            addCriterion("exc_code is not null");
            return (Criteria) this;
        }

        public Criteria andExcCodeEqualTo(String value) {
            addCriterion("exc_code =", value, "excCode");
            return (Criteria) this;
        }

        public Criteria andExcCodeNotEqualTo(String value) {
            addCriterion("exc_code <>", value, "excCode");
            return (Criteria) this;
        }

        public Criteria andExcCodeGreaterThan(String value) {
            addCriterion("exc_code >", value, "excCode");
            return (Criteria) this;
        }

        public Criteria andExcCodeGreaterThanOrEqualTo(String value) {
            addCriterion("exc_code >=", value, "excCode");
            return (Criteria) this;
        }

        public Criteria andExcCodeLessThan(String value) {
            addCriterion("exc_code <", value, "excCode");
            return (Criteria) this;
        }

        public Criteria andExcCodeLessThanOrEqualTo(String value) {
            addCriterion("exc_code <=", value, "excCode");
            return (Criteria) this;
        }

        public Criteria andExcCodeLike(String value) {
            addCriterion("exc_code like", value, "excCode");
            return (Criteria) this;
        }

        public Criteria andExcCodeNotLike(String value) {
            addCriterion("exc_code not like", value, "excCode");
            return (Criteria) this;
        }

        public Criteria andExcCodeIn(List<String> values) {
            addCriterion("exc_code in", values, "excCode");
            return (Criteria) this;
        }

        public Criteria andExcCodeNotIn(List<String> values) {
            addCriterion("exc_code not in", values, "excCode");
            return (Criteria) this;
        }

        public Criteria andExcCodeBetween(String value1, String value2) {
            addCriterion("exc_code between", value1, value2, "excCode");
            return (Criteria) this;
        }

        public Criteria andExcCodeNotBetween(String value1, String value2) {
            addCriterion("exc_code not between", value1, value2, "excCode");
            return (Criteria) this;
        }

        public Criteria andProjectNameIsNull() {
            addCriterion("project_name is null");
            return (Criteria) this;
        }

        public Criteria andProjectNameIsNotNull() {
            addCriterion("project_name is not null");
            return (Criteria) this;
        }

        public Criteria andProjectNameEqualTo(String value) {
            addCriterion("project_name =", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotEqualTo(String value) {
            addCriterion("project_name <>", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameGreaterThan(String value) {
            addCriterion("project_name >", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameGreaterThanOrEqualTo(String value) {
            addCriterion("project_name >=", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLessThan(String value) {
            addCriterion("project_name <", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLessThanOrEqualTo(String value) {
            addCriterion("project_name <=", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLike(String value) {
            addCriterion("project_name like", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotLike(String value) {
            addCriterion("project_name not like", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameIn(List<String> values) {
            addCriterion("project_name in", values, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotIn(List<String> values) {
            addCriterion("project_name not in", values, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameBetween(String value1, String value2) {
            addCriterion("project_name between", value1, value2, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotBetween(String value1, String value2) {
            addCriterion("project_name not between", value1, value2, "projectName");
            return (Criteria) this;
        }

        public Criteria andApplyOrganIsNull() {
            addCriterion("apply_organ is null");
            return (Criteria) this;
        }

        public Criteria andApplyOrganIsNotNull() {
            addCriterion("apply_organ is not null");
            return (Criteria) this;
        }

        public Criteria andApplyOrganEqualTo(String value) {
            addCriterion("apply_organ =", value, "applyOrgan");
            return (Criteria) this;
        }

        public Criteria andApplyOrganNotEqualTo(String value) {
            addCriterion("apply_organ <>", value, "applyOrgan");
            return (Criteria) this;
        }

        public Criteria andApplyOrganGreaterThan(String value) {
            addCriterion("apply_organ >", value, "applyOrgan");
            return (Criteria) this;
        }

        public Criteria andApplyOrganGreaterThanOrEqualTo(String value) {
            addCriterion("apply_organ >=", value, "applyOrgan");
            return (Criteria) this;
        }

        public Criteria andApplyOrganLessThan(String value) {
            addCriterion("apply_organ <", value, "applyOrgan");
            return (Criteria) this;
        }

        public Criteria andApplyOrganLessThanOrEqualTo(String value) {
            addCriterion("apply_organ <=", value, "applyOrgan");
            return (Criteria) this;
        }

        public Criteria andApplyOrganLike(String value) {
            addCriterion("apply_organ like", value, "applyOrgan");
            return (Criteria) this;
        }

        public Criteria andApplyOrganNotLike(String value) {
            addCriterion("apply_organ not like", value, "applyOrgan");
            return (Criteria) this;
        }

        public Criteria andApplyOrganIn(List<String> values) {
            addCriterion("apply_organ in", values, "applyOrgan");
            return (Criteria) this;
        }

        public Criteria andApplyOrganNotIn(List<String> values) {
            addCriterion("apply_organ not in", values, "applyOrgan");
            return (Criteria) this;
        }

        public Criteria andApplyOrganBetween(String value1, String value2) {
            addCriterion("apply_organ between", value1, value2, "applyOrgan");
            return (Criteria) this;
        }

        public Criteria andApplyOrganNotBetween(String value1, String value2) {
            addCriterion("apply_organ not between", value1, value2, "applyOrgan");
            return (Criteria) this;
        }

        public Criteria andApplyPersonIsNull() {
            addCriterion("apply_person is null");
            return (Criteria) this;
        }

        public Criteria andApplyPersonIsNotNull() {
            addCriterion("apply_person is not null");
            return (Criteria) this;
        }

        public Criteria andApplyPersonEqualTo(String value) {
            addCriterion("apply_person =", value, "applyPerson");
            return (Criteria) this;
        }

        public Criteria andApplyPersonNotEqualTo(String value) {
            addCriterion("apply_person <>", value, "applyPerson");
            return (Criteria) this;
        }

        public Criteria andApplyPersonGreaterThan(String value) {
            addCriterion("apply_person >", value, "applyPerson");
            return (Criteria) this;
        }

        public Criteria andApplyPersonGreaterThanOrEqualTo(String value) {
            addCriterion("apply_person >=", value, "applyPerson");
            return (Criteria) this;
        }

        public Criteria andApplyPersonLessThan(String value) {
            addCriterion("apply_person <", value, "applyPerson");
            return (Criteria) this;
        }

        public Criteria andApplyPersonLessThanOrEqualTo(String value) {
            addCriterion("apply_person <=", value, "applyPerson");
            return (Criteria) this;
        }

        public Criteria andApplyPersonLike(String value) {
            addCriterion("apply_person like", value, "applyPerson");
            return (Criteria) this;
        }

        public Criteria andApplyPersonNotLike(String value) {
            addCriterion("apply_person not like", value, "applyPerson");
            return (Criteria) this;
        }

        public Criteria andApplyPersonIn(List<String> values) {
            addCriterion("apply_person in", values, "applyPerson");
            return (Criteria) this;
        }

        public Criteria andApplyPersonNotIn(List<String> values) {
            addCriterion("apply_person not in", values, "applyPerson");
            return (Criteria) this;
        }

        public Criteria andApplyPersonBetween(String value1, String value2) {
            addCriterion("apply_person between", value1, value2, "applyPerson");
            return (Criteria) this;
        }

        public Criteria andApplyPersonNotBetween(String value1, String value2) {
            addCriterion("apply_person not between", value1, value2, "applyPerson");
            return (Criteria) this;
        }

        public Criteria andApplyTimeIsNull() {
            addCriterion("apply_time is null");
            return (Criteria) this;
        }

        public Criteria andApplyTimeIsNotNull() {
            addCriterion("apply_time is not null");
            return (Criteria) this;
        }

        public Criteria andApplyTimeEqualTo(Date value) {
            addCriterionForJDBCDate("apply_time =", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("apply_time <>", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("apply_time >", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("apply_time >=", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeLessThan(Date value) {
            addCriterionForJDBCDate("apply_time <", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("apply_time <=", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeIn(List<Date> values) {
            addCriterionForJDBCDate("apply_time in", values, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("apply_time not in", values, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("apply_time between", value1, value2, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("apply_time not between", value1, value2, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApprovalNameIsNull() {
            addCriterion("approval_name is null");
            return (Criteria) this;
        }

        public Criteria andApprovalNameIsNotNull() {
            addCriterion("approval_name is not null");
            return (Criteria) this;
        }

        public Criteria andApprovalNameEqualTo(String value) {
            addCriterion("approval_name =", value, "approvalName");
            return (Criteria) this;
        }

        public Criteria andApprovalNameNotEqualTo(String value) {
            addCriterion("approval_name <>", value, "approvalName");
            return (Criteria) this;
        }

        public Criteria andApprovalNameGreaterThan(String value) {
            addCriterion("approval_name >", value, "approvalName");
            return (Criteria) this;
        }

        public Criteria andApprovalNameGreaterThanOrEqualTo(String value) {
            addCriterion("approval_name >=", value, "approvalName");
            return (Criteria) this;
        }

        public Criteria andApprovalNameLessThan(String value) {
            addCriterion("approval_name <", value, "approvalName");
            return (Criteria) this;
        }

        public Criteria andApprovalNameLessThanOrEqualTo(String value) {
            addCriterion("approval_name <=", value, "approvalName");
            return (Criteria) this;
        }

        public Criteria andApprovalNameLike(String value) {
            addCriterion("approval_name like", value, "approvalName");
            return (Criteria) this;
        }

        public Criteria andApprovalNameNotLike(String value) {
            addCriterion("approval_name not like", value, "approvalName");
            return (Criteria) this;
        }

        public Criteria andApprovalNameIn(List<String> values) {
            addCriterion("approval_name in", values, "approvalName");
            return (Criteria) this;
        }

        public Criteria andApprovalNameNotIn(List<String> values) {
            addCriterion("approval_name not in", values, "approvalName");
            return (Criteria) this;
        }

        public Criteria andApprovalNameBetween(String value1, String value2) {
            addCriterion("approval_name between", value1, value2, "approvalName");
            return (Criteria) this;
        }

        public Criteria andApprovalNameNotBetween(String value1, String value2) {
            addCriterion("approval_name not between", value1, value2, "approvalName");
            return (Criteria) this;
        }

        public Criteria andApprovalOrganIsNull() {
            addCriterion("approval_organ is null");
            return (Criteria) this;
        }

        public Criteria andApprovalOrganIsNotNull() {
            addCriterion("approval_organ is not null");
            return (Criteria) this;
        }

        public Criteria andApprovalOrganEqualTo(String value) {
            addCriterion("approval_organ =", value, "approvalOrgan");
            return (Criteria) this;
        }

        public Criteria andApprovalOrganNotEqualTo(String value) {
            addCriterion("approval_organ <>", value, "approvalOrgan");
            return (Criteria) this;
        }

        public Criteria andApprovalOrganGreaterThan(String value) {
            addCriterion("approval_organ >", value, "approvalOrgan");
            return (Criteria) this;
        }

        public Criteria andApprovalOrganGreaterThanOrEqualTo(String value) {
            addCriterion("approval_organ >=", value, "approvalOrgan");
            return (Criteria) this;
        }

        public Criteria andApprovalOrganLessThan(String value) {
            addCriterion("approval_organ <", value, "approvalOrgan");
            return (Criteria) this;
        }

        public Criteria andApprovalOrganLessThanOrEqualTo(String value) {
            addCriterion("approval_organ <=", value, "approvalOrgan");
            return (Criteria) this;
        }

        public Criteria andApprovalOrganLike(String value) {
            addCriterion("approval_organ like", value, "approvalOrgan");
            return (Criteria) this;
        }

        public Criteria andApprovalOrganNotLike(String value) {
            addCriterion("approval_organ not like", value, "approvalOrgan");
            return (Criteria) this;
        }

        public Criteria andApprovalOrganIn(List<String> values) {
            addCriterion("approval_organ in", values, "approvalOrgan");
            return (Criteria) this;
        }

        public Criteria andApprovalOrganNotIn(List<String> values) {
            addCriterion("approval_organ not in", values, "approvalOrgan");
            return (Criteria) this;
        }

        public Criteria andApprovalOrganBetween(String value1, String value2) {
            addCriterion("approval_organ between", value1, value2, "approvalOrgan");
            return (Criteria) this;
        }

        public Criteria andApprovalOrganNotBetween(String value1, String value2) {
            addCriterion("approval_organ not between", value1, value2, "approvalOrgan");
            return (Criteria) this;
        }

        public Criteria andApprovalTimeIsNull() {
            addCriterion("approval_time is null");
            return (Criteria) this;
        }

        public Criteria andApprovalTimeIsNotNull() {
            addCriterion("approval_time is not null");
            return (Criteria) this;
        }

        public Criteria andApprovalTimeEqualTo(Date value) {
            addCriterionForJDBCDate("approval_time =", value, "approvalTime");
            return (Criteria) this;
        }

        public Criteria andApprovalTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("approval_time <>", value, "approvalTime");
            return (Criteria) this;
        }

        public Criteria andApprovalTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("approval_time >", value, "approvalTime");
            return (Criteria) this;
        }

        public Criteria andApprovalTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("approval_time >=", value, "approvalTime");
            return (Criteria) this;
        }

        public Criteria andApprovalTimeLessThan(Date value) {
            addCriterionForJDBCDate("approval_time <", value, "approvalTime");
            return (Criteria) this;
        }

        public Criteria andApprovalTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("approval_time <=", value, "approvalTime");
            return (Criteria) this;
        }

        public Criteria andApprovalTimeIn(List<Date> values) {
            addCriterionForJDBCDate("approval_time in", values, "approvalTime");
            return (Criteria) this;
        }

        public Criteria andApprovalTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("approval_time not in", values, "approvalTime");
            return (Criteria) this;
        }

        public Criteria andApprovalTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("approval_time between", value1, value2, "approvalTime");
            return (Criteria) this;
        }

        public Criteria andApprovalTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("approval_time not between", value1, value2, "approvalTime");
            return (Criteria) this;
        }

        public Criteria andExcNumberIsNull() {
            addCriterion("exc_number is null");
            return (Criteria) this;
        }

        public Criteria andExcNumberIsNotNull() {
            addCriterion("exc_number is not null");
            return (Criteria) this;
        }

        public Criteria andExcNumberEqualTo(String value) {
            addCriterion("exc_number =", value, "excNumber");
            return (Criteria) this;
        }

        public Criteria andExcNumberNotEqualTo(String value) {
            addCriterion("exc_number <>", value, "excNumber");
            return (Criteria) this;
        }

        public Criteria andExcNumberGreaterThan(String value) {
            addCriterion("exc_number >", value, "excNumber");
            return (Criteria) this;
        }

        public Criteria andExcNumberGreaterThanOrEqualTo(String value) {
            addCriterion("exc_number >=", value, "excNumber");
            return (Criteria) this;
        }

        public Criteria andExcNumberLessThan(String value) {
            addCriterion("exc_number <", value, "excNumber");
            return (Criteria) this;
        }

        public Criteria andExcNumberLessThanOrEqualTo(String value) {
            addCriterion("exc_number <=", value, "excNumber");
            return (Criteria) this;
        }

        public Criteria andExcNumberLike(String value) {
            addCriterion("exc_number like", value, "excNumber");
            return (Criteria) this;
        }

        public Criteria andExcNumberNotLike(String value) {
            addCriterion("exc_number not like", value, "excNumber");
            return (Criteria) this;
        }

        public Criteria andExcNumberIn(List<String> values) {
            addCriterion("exc_number in", values, "excNumber");
            return (Criteria) this;
        }

        public Criteria andExcNumberNotIn(List<String> values) {
            addCriterion("exc_number not in", values, "excNumber");
            return (Criteria) this;
        }

        public Criteria andExcNumberBetween(String value1, String value2) {
            addCriterion("exc_number between", value1, value2, "excNumber");
            return (Criteria) this;
        }

        public Criteria andExcNumberNotBetween(String value1, String value2) {
            addCriterion("exc_number not between", value1, value2, "excNumber");
            return (Criteria) this;
        }

        public Criteria andTechPersonIsNull() {
            addCriterion("tech_person is null");
            return (Criteria) this;
        }

        public Criteria andTechPersonIsNotNull() {
            addCriterion("tech_person is not null");
            return (Criteria) this;
        }

        public Criteria andTechPersonEqualTo(String value) {
            addCriterion("tech_person =", value, "techPerson");
            return (Criteria) this;
        }

        public Criteria andTechPersonNotEqualTo(String value) {
            addCriterion("tech_person <>", value, "techPerson");
            return (Criteria) this;
        }

        public Criteria andTechPersonGreaterThan(String value) {
            addCriterion("tech_person >", value, "techPerson");
            return (Criteria) this;
        }

        public Criteria andTechPersonGreaterThanOrEqualTo(String value) {
            addCriterion("tech_person >=", value, "techPerson");
            return (Criteria) this;
        }

        public Criteria andTechPersonLessThan(String value) {
            addCriterion("tech_person <", value, "techPerson");
            return (Criteria) this;
        }

        public Criteria andTechPersonLessThanOrEqualTo(String value) {
            addCriterion("tech_person <=", value, "techPerson");
            return (Criteria) this;
        }

        public Criteria andTechPersonLike(String value) {
            addCriterion("tech_person like", value, "techPerson");
            return (Criteria) this;
        }

        public Criteria andTechPersonNotLike(String value) {
            addCriterion("tech_person not like", value, "techPerson");
            return (Criteria) this;
        }

        public Criteria andTechPersonIn(List<String> values) {
            addCriterion("tech_person in", values, "techPerson");
            return (Criteria) this;
        }

        public Criteria andTechPersonNotIn(List<String> values) {
            addCriterion("tech_person not in", values, "techPerson");
            return (Criteria) this;
        }

        public Criteria andTechPersonBetween(String value1, String value2) {
            addCriterion("tech_person between", value1, value2, "techPerson");
            return (Criteria) this;
        }

        public Criteria andTechPersonNotBetween(String value1, String value2) {
            addCriterion("tech_person not between", value1, value2, "techPerson");
            return (Criteria) this;
        }

        public Criteria andOtherPersonIsNull() {
            addCriterion("other_person is null");
            return (Criteria) this;
        }

        public Criteria andOtherPersonIsNotNull() {
            addCriterion("other_person is not null");
            return (Criteria) this;
        }

        public Criteria andOtherPersonEqualTo(String value) {
            addCriterion("other_person =", value, "otherPerson");
            return (Criteria) this;
        }

        public Criteria andOtherPersonNotEqualTo(String value) {
            addCriterion("other_person <>", value, "otherPerson");
            return (Criteria) this;
        }

        public Criteria andOtherPersonGreaterThan(String value) {
            addCriterion("other_person >", value, "otherPerson");
            return (Criteria) this;
        }

        public Criteria andOtherPersonGreaterThanOrEqualTo(String value) {
            addCriterion("other_person >=", value, "otherPerson");
            return (Criteria) this;
        }

        public Criteria andOtherPersonLessThan(String value) {
            addCriterion("other_person <", value, "otherPerson");
            return (Criteria) this;
        }

        public Criteria andOtherPersonLessThanOrEqualTo(String value) {
            addCriterion("other_person <=", value, "otherPerson");
            return (Criteria) this;
        }

        public Criteria andOtherPersonLike(String value) {
            addCriterion("other_person like", value, "otherPerson");
            return (Criteria) this;
        }

        public Criteria andOtherPersonNotLike(String value) {
            addCriterion("other_person not like", value, "otherPerson");
            return (Criteria) this;
        }

        public Criteria andOtherPersonIn(List<String> values) {
            addCriterion("other_person in", values, "otherPerson");
            return (Criteria) this;
        }

        public Criteria andOtherPersonNotIn(List<String> values) {
            addCriterion("other_person not in", values, "otherPerson");
            return (Criteria) this;
        }

        public Criteria andOtherPersonBetween(String value1, String value2) {
            addCriterion("other_person between", value1, value2, "otherPerson");
            return (Criteria) this;
        }

        public Criteria andOtherPersonNotBetween(String value1, String value2) {
            addCriterion("other_person not between", value1, value2, "otherPerson");
            return (Criteria) this;
        }

        public Criteria andExcOrganIsNull() {
            addCriterion("exc_organ is null");
            return (Criteria) this;
        }

        public Criteria andExcOrganIsNotNull() {
            addCriterion("exc_organ is not null");
            return (Criteria) this;
        }

        public Criteria andExcOrganEqualTo(String value) {
            addCriterion("exc_organ =", value, "excOrgan");
            return (Criteria) this;
        }

        public Criteria andExcOrganNotEqualTo(String value) {
            addCriterion("exc_organ <>", value, "excOrgan");
            return (Criteria) this;
        }

        public Criteria andExcOrganGreaterThan(String value) {
            addCriterion("exc_organ >", value, "excOrgan");
            return (Criteria) this;
        }

        public Criteria andExcOrganGreaterThanOrEqualTo(String value) {
            addCriterion("exc_organ >=", value, "excOrgan");
            return (Criteria) this;
        }

        public Criteria andExcOrganLessThan(String value) {
            addCriterion("exc_organ <", value, "excOrgan");
            return (Criteria) this;
        }

        public Criteria andExcOrganLessThanOrEqualTo(String value) {
            addCriterion("exc_organ <=", value, "excOrgan");
            return (Criteria) this;
        }

        public Criteria andExcOrganLike(String value) {
            addCriterion("exc_organ like", value, "excOrgan");
            return (Criteria) this;
        }

        public Criteria andExcOrganNotLike(String value) {
            addCriterion("exc_organ not like", value, "excOrgan");
            return (Criteria) this;
        }

        public Criteria andExcOrganIn(List<String> values) {
            addCriterion("exc_organ in", values, "excOrgan");
            return (Criteria) this;
        }

        public Criteria andExcOrganNotIn(List<String> values) {
            addCriterion("exc_organ not in", values, "excOrgan");
            return (Criteria) this;
        }

        public Criteria andExcOrganBetween(String value1, String value2) {
            addCriterion("exc_organ between", value1, value2, "excOrgan");
            return (Criteria) this;
        }

        public Criteria andExcOrganNotBetween(String value1, String value2) {
            addCriterion("exc_organ not between", value1, value2, "excOrgan");
            return (Criteria) this;
        }

        public Criteria andQualificationIsNull() {
            addCriterion("qualification is null");
            return (Criteria) this;
        }

        public Criteria andQualificationIsNotNull() {
            addCriterion("qualification is not null");
            return (Criteria) this;
        }

        public Criteria andQualificationEqualTo(String value) {
            addCriterion("qualification =", value, "qualification");
            return (Criteria) this;
        }

        public Criteria andQualificationNotEqualTo(String value) {
            addCriterion("qualification <>", value, "qualification");
            return (Criteria) this;
        }

        public Criteria andQualificationGreaterThan(String value) {
            addCriterion("qualification >", value, "qualification");
            return (Criteria) this;
        }

        public Criteria andQualificationGreaterThanOrEqualTo(String value) {
            addCriterion("qualification >=", value, "qualification");
            return (Criteria) this;
        }

        public Criteria andQualificationLessThan(String value) {
            addCriterion("qualification <", value, "qualification");
            return (Criteria) this;
        }

        public Criteria andQualificationLessThanOrEqualTo(String value) {
            addCriterion("qualification <=", value, "qualification");
            return (Criteria) this;
        }

        public Criteria andQualificationLike(String value) {
            addCriterion("qualification like", value, "qualification");
            return (Criteria) this;
        }

        public Criteria andQualificationNotLike(String value) {
            addCriterion("qualification not like", value, "qualification");
            return (Criteria) this;
        }

        public Criteria andQualificationIn(List<String> values) {
            addCriterion("qualification in", values, "qualification");
            return (Criteria) this;
        }

        public Criteria andQualificationNotIn(List<String> values) {
            addCriterion("qualification not in", values, "qualification");
            return (Criteria) this;
        }

        public Criteria andQualificationBetween(String value1, String value2) {
            addCriterion("qualification between", value1, value2, "qualification");
            return (Criteria) this;
        }

        public Criteria andQualificationNotBetween(String value1, String value2) {
            addCriterion("qualification not between", value1, value2, "qualification");
            return (Criteria) this;
        }

        public Criteria andExcHostIsNull() {
            addCriterion("exc_host is null");
            return (Criteria) this;
        }

        public Criteria andExcHostIsNotNull() {
            addCriterion("exc_host is not null");
            return (Criteria) this;
        }

        public Criteria andExcHostEqualTo(String value) {
            addCriterion("exc_host =", value, "excHost");
            return (Criteria) this;
        }

        public Criteria andExcHostNotEqualTo(String value) {
            addCriterion("exc_host <>", value, "excHost");
            return (Criteria) this;
        }

        public Criteria andExcHostGreaterThan(String value) {
            addCriterion("exc_host >", value, "excHost");
            return (Criteria) this;
        }

        public Criteria andExcHostGreaterThanOrEqualTo(String value) {
            addCriterion("exc_host >=", value, "excHost");
            return (Criteria) this;
        }

        public Criteria andExcHostLessThan(String value) {
            addCriterion("exc_host <", value, "excHost");
            return (Criteria) this;
        }

        public Criteria andExcHostLessThanOrEqualTo(String value) {
            addCriterion("exc_host <=", value, "excHost");
            return (Criteria) this;
        }

        public Criteria andExcHostLike(String value) {
            addCriterion("exc_host like", value, "excHost");
            return (Criteria) this;
        }

        public Criteria andExcHostNotLike(String value) {
            addCriterion("exc_host not like", value, "excHost");
            return (Criteria) this;
        }

        public Criteria andExcHostIn(List<String> values) {
            addCriterion("exc_host in", values, "excHost");
            return (Criteria) this;
        }

        public Criteria andExcHostNotIn(List<String> values) {
            addCriterion("exc_host not in", values, "excHost");
            return (Criteria) this;
        }

        public Criteria andExcHostBetween(String value1, String value2) {
            addCriterion("exc_host between", value1, value2, "excHost");
            return (Criteria) this;
        }

        public Criteria andExcHostNotBetween(String value1, String value2) {
            addCriterion("exc_host not between", value1, value2, "excHost");
            return (Criteria) this;
        }

        public Criteria andFundingFromIsNull() {
            addCriterion("funding_from is null");
            return (Criteria) this;
        }

        public Criteria andFundingFromIsNotNull() {
            addCriterion("funding_from is not null");
            return (Criteria) this;
        }

        public Criteria andFundingFromEqualTo(String value) {
            addCriterion("funding_from =", value, "fundingFrom");
            return (Criteria) this;
        }

        public Criteria andFundingFromNotEqualTo(String value) {
            addCriterion("funding_from <>", value, "fundingFrom");
            return (Criteria) this;
        }

        public Criteria andFundingFromGreaterThan(String value) {
            addCriterion("funding_from >", value, "fundingFrom");
            return (Criteria) this;
        }

        public Criteria andFundingFromGreaterThanOrEqualTo(String value) {
            addCriterion("funding_from >=", value, "fundingFrom");
            return (Criteria) this;
        }

        public Criteria andFundingFromLessThan(String value) {
            addCriterion("funding_from <", value, "fundingFrom");
            return (Criteria) this;
        }

        public Criteria andFundingFromLessThanOrEqualTo(String value) {
            addCriterion("funding_from <=", value, "fundingFrom");
            return (Criteria) this;
        }

        public Criteria andFundingFromLike(String value) {
            addCriterion("funding_from like", value, "fundingFrom");
            return (Criteria) this;
        }

        public Criteria andFundingFromNotLike(String value) {
            addCriterion("funding_from not like", value, "fundingFrom");
            return (Criteria) this;
        }

        public Criteria andFundingFromIn(List<String> values) {
            addCriterion("funding_from in", values, "fundingFrom");
            return (Criteria) this;
        }

        public Criteria andFundingFromNotIn(List<String> values) {
            addCriterion("funding_from not in", values, "fundingFrom");
            return (Criteria) this;
        }

        public Criteria andFundingFromBetween(String value1, String value2) {
            addCriterion("funding_from between", value1, value2, "fundingFrom");
            return (Criteria) this;
        }

        public Criteria andFundingFromNotBetween(String value1, String value2) {
            addCriterion("funding_from not between", value1, value2, "fundingFrom");
            return (Criteria) this;
        }

        public Criteria andExcAreaIsNull() {
            addCriterion("exc_area is null");
            return (Criteria) this;
        }

        public Criteria andExcAreaIsNotNull() {
            addCriterion("exc_area is not null");
            return (Criteria) this;
        }

        public Criteria andExcAreaEqualTo(String value) {
            addCriterion("exc_area =", value, "excArea");
            return (Criteria) this;
        }

        public Criteria andExcAreaNotEqualTo(String value) {
            addCriterion("exc_area <>", value, "excArea");
            return (Criteria) this;
        }

        public Criteria andExcAreaGreaterThan(String value) {
            addCriterion("exc_area >", value, "excArea");
            return (Criteria) this;
        }

        public Criteria andExcAreaGreaterThanOrEqualTo(String value) {
            addCriterion("exc_area >=", value, "excArea");
            return (Criteria) this;
        }

        public Criteria andExcAreaLessThan(String value) {
            addCriterion("exc_area <", value, "excArea");
            return (Criteria) this;
        }

        public Criteria andExcAreaLessThanOrEqualTo(String value) {
            addCriterion("exc_area <=", value, "excArea");
            return (Criteria) this;
        }

        public Criteria andExcAreaLike(String value) {
            addCriterion("exc_area like", value, "excArea");
            return (Criteria) this;
        }

        public Criteria andExcAreaNotLike(String value) {
            addCriterion("exc_area not like", value, "excArea");
            return (Criteria) this;
        }

        public Criteria andExcAreaIn(List<String> values) {
            addCriterion("exc_area in", values, "excArea");
            return (Criteria) this;
        }

        public Criteria andExcAreaNotIn(List<String> values) {
            addCriterion("exc_area not in", values, "excArea");
            return (Criteria) this;
        }

        public Criteria andExcAreaBetween(String value1, String value2) {
            addCriterion("exc_area between", value1, value2, "excArea");
            return (Criteria) this;
        }

        public Criteria andExcAreaNotBetween(String value1, String value2) {
            addCriterion("exc_area not between", value1, value2, "excArea");
            return (Criteria) this;
        }

        public Criteria andExcBegintimeIsNull() {
            addCriterion("exc_begintime is null");
            return (Criteria) this;
        }

        public Criteria andExcBegintimeIsNotNull() {
            addCriterion("exc_begintime is not null");
            return (Criteria) this;
        }

        public Criteria andExcBegintimeEqualTo(Date value) {
            addCriterionForJDBCDate("exc_begintime =", value, "excBegintime");
            return (Criteria) this;
        }

        public Criteria andExcBegintimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("exc_begintime <>", value, "excBegintime");
            return (Criteria) this;
        }

        public Criteria andExcBegintimeGreaterThan(Date value) {
            addCriterionForJDBCDate("exc_begintime >", value, "excBegintime");
            return (Criteria) this;
        }

        public Criteria andExcBegintimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("exc_begintime >=", value, "excBegintime");
            return (Criteria) this;
        }

        public Criteria andExcBegintimeLessThan(Date value) {
            addCriterionForJDBCDate("exc_begintime <", value, "excBegintime");
            return (Criteria) this;
        }

        public Criteria andExcBegintimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("exc_begintime <=", value, "excBegintime");
            return (Criteria) this;
        }

        public Criteria andExcBegintimeIn(List<Date> values) {
            addCriterionForJDBCDate("exc_begintime in", values, "excBegintime");
            return (Criteria) this;
        }

        public Criteria andExcBegintimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("exc_begintime not in", values, "excBegintime");
            return (Criteria) this;
        }

        public Criteria andExcBegintimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("exc_begintime between", value1, value2, "excBegintime");
            return (Criteria) this;
        }

        public Criteria andExcBegintimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("exc_begintime not between", value1, value2, "excBegintime");
            return (Criteria) this;
        }

        public Criteria andExcEndtimeIsNull() {
            addCriterion("exc_endtime is null");
            return (Criteria) this;
        }

        public Criteria andExcEndtimeIsNotNull() {
            addCriterion("exc_endtime is not null");
            return (Criteria) this;
        }

        public Criteria andExcEndtimeEqualTo(Date value) {
            addCriterionForJDBCDate("exc_endtime =", value, "excEndtime");
            return (Criteria) this;
        }

        public Criteria andExcEndtimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("exc_endtime <>", value, "excEndtime");
            return (Criteria) this;
        }

        public Criteria andExcEndtimeGreaterThan(Date value) {
            addCriterionForJDBCDate("exc_endtime >", value, "excEndtime");
            return (Criteria) this;
        }

        public Criteria andExcEndtimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("exc_endtime >=", value, "excEndtime");
            return (Criteria) this;
        }

        public Criteria andExcEndtimeLessThan(Date value) {
            addCriterionForJDBCDate("exc_endtime <", value, "excEndtime");
            return (Criteria) this;
        }

        public Criteria andExcEndtimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("exc_endtime <=", value, "excEndtime");
            return (Criteria) this;
        }

        public Criteria andExcEndtimeIn(List<Date> values) {
            addCriterionForJDBCDate("exc_endtime in", values, "excEndtime");
            return (Criteria) this;
        }

        public Criteria andExcEndtimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("exc_endtime not in", values, "excEndtime");
            return (Criteria) this;
        }

        public Criteria andExcEndtimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("exc_endtime between", value1, value2, "excEndtime");
            return (Criteria) this;
        }

        public Criteria andExcEndtimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("exc_endtime not between", value1, value2, "excEndtime");
            return (Criteria) this;
        }

        public Criteria andExcLogsIsNull() {
            addCriterion("exc_logs is null");
            return (Criteria) this;
        }

        public Criteria andExcLogsIsNotNull() {
            addCriterion("exc_logs is not null");
            return (Criteria) this;
        }

        public Criteria andExcLogsEqualTo(String value) {
            addCriterion("exc_logs =", value, "excLogs");
            return (Criteria) this;
        }

        public Criteria andExcLogsNotEqualTo(String value) {
            addCriterion("exc_logs <>", value, "excLogs");
            return (Criteria) this;
        }

        public Criteria andExcLogsGreaterThan(String value) {
            addCriterion("exc_logs >", value, "excLogs");
            return (Criteria) this;
        }

        public Criteria andExcLogsGreaterThanOrEqualTo(String value) {
            addCriterion("exc_logs >=", value, "excLogs");
            return (Criteria) this;
        }

        public Criteria andExcLogsLessThan(String value) {
            addCriterion("exc_logs <", value, "excLogs");
            return (Criteria) this;
        }

        public Criteria andExcLogsLessThanOrEqualTo(String value) {
            addCriterion("exc_logs <=", value, "excLogs");
            return (Criteria) this;
        }

        public Criteria andExcLogsLike(String value) {
            addCriterion("exc_logs like", value, "excLogs");
            return (Criteria) this;
        }

        public Criteria andExcLogsNotLike(String value) {
            addCriterion("exc_logs not like", value, "excLogs");
            return (Criteria) this;
        }

        public Criteria andExcLogsIn(List<String> values) {
            addCriterion("exc_logs in", values, "excLogs");
            return (Criteria) this;
        }

        public Criteria andExcLogsNotIn(List<String> values) {
            addCriterion("exc_logs not in", values, "excLogs");
            return (Criteria) this;
        }

        public Criteria andExcLogsBetween(String value1, String value2) {
            addCriterion("exc_logs between", value1, value2, "excLogs");
            return (Criteria) this;
        }

        public Criteria andExcLogsNotBetween(String value1, String value2) {
            addCriterion("exc_logs not between", value1, value2, "excLogs");
            return (Criteria) this;
        }

        public Criteria andExcSourceIsNull() {
            addCriterion("exc_source is null");
            return (Criteria) this;
        }

        public Criteria andExcSourceIsNotNull() {
            addCriterion("exc_source is not null");
            return (Criteria) this;
        }

        public Criteria andExcSourceEqualTo(String value) {
            addCriterion("exc_source =", value, "excSource");
            return (Criteria) this;
        }

        public Criteria andExcSourceNotEqualTo(String value) {
            addCriterion("exc_source <>", value, "excSource");
            return (Criteria) this;
        }

        public Criteria andExcSourceGreaterThan(String value) {
            addCriterion("exc_source >", value, "excSource");
            return (Criteria) this;
        }

        public Criteria andExcSourceGreaterThanOrEqualTo(String value) {
            addCriterion("exc_source >=", value, "excSource");
            return (Criteria) this;
        }

        public Criteria andExcSourceLessThan(String value) {
            addCriterion("exc_source <", value, "excSource");
            return (Criteria) this;
        }

        public Criteria andExcSourceLessThanOrEqualTo(String value) {
            addCriterion("exc_source <=", value, "excSource");
            return (Criteria) this;
        }

        public Criteria andExcSourceLike(String value) {
            addCriterion("exc_source like", value, "excSource");
            return (Criteria) this;
        }

        public Criteria andExcSourceNotLike(String value) {
            addCriterion("exc_source not like", value, "excSource");
            return (Criteria) this;
        }

        public Criteria andExcSourceIn(List<String> values) {
            addCriterion("exc_source in", values, "excSource");
            return (Criteria) this;
        }

        public Criteria andExcSourceNotIn(List<String> values) {
            addCriterion("exc_source not in", values, "excSource");
            return (Criteria) this;
        }

        public Criteria andExcSourceBetween(String value1, String value2) {
            addCriterion("exc_source between", value1, value2, "excSource");
            return (Criteria) this;
        }

        public Criteria andExcSourceNotBetween(String value1, String value2) {
            addCriterion("exc_source not between", value1, value2, "excSource");
            return (Criteria) this;
        }

        public Criteria andUnearthedOverviewIsNull() {
            addCriterion("unearthed_overview is null");
            return (Criteria) this;
        }

        public Criteria andUnearthedOverviewIsNotNull() {
            addCriterion("unearthed_overview is not null");
            return (Criteria) this;
        }

        public Criteria andUnearthedOverviewEqualTo(String value) {
            addCriterion("unearthed_overview =", value, "unearthedOverview");
            return (Criteria) this;
        }

        public Criteria andUnearthedOverviewNotEqualTo(String value) {
            addCriterion("unearthed_overview <>", value, "unearthedOverview");
            return (Criteria) this;
        }

        public Criteria andUnearthedOverviewGreaterThan(String value) {
            addCriterion("unearthed_overview >", value, "unearthedOverview");
            return (Criteria) this;
        }

        public Criteria andUnearthedOverviewGreaterThanOrEqualTo(String value) {
            addCriterion("unearthed_overview >=", value, "unearthedOverview");
            return (Criteria) this;
        }

        public Criteria andUnearthedOverviewLessThan(String value) {
            addCriterion("unearthed_overview <", value, "unearthedOverview");
            return (Criteria) this;
        }

        public Criteria andUnearthedOverviewLessThanOrEqualTo(String value) {
            addCriterion("unearthed_overview <=", value, "unearthedOverview");
            return (Criteria) this;
        }

        public Criteria andUnearthedOverviewLike(String value) {
            addCriterion("unearthed_overview like", value, "unearthedOverview");
            return (Criteria) this;
        }

        public Criteria andUnearthedOverviewNotLike(String value) {
            addCriterion("unearthed_overview not like", value, "unearthedOverview");
            return (Criteria) this;
        }

        public Criteria andUnearthedOverviewIn(List<String> values) {
            addCriterion("unearthed_overview in", values, "unearthedOverview");
            return (Criteria) this;
        }

        public Criteria andUnearthedOverviewNotIn(List<String> values) {
            addCriterion("unearthed_overview not in", values, "unearthedOverview");
            return (Criteria) this;
        }

        public Criteria andUnearthedOverviewBetween(String value1, String value2) {
            addCriterion("unearthed_overview between", value1, value2, "unearthedOverview");
            return (Criteria) this;
        }

        public Criteria andUnearthedOverviewNotBetween(String value1, String value2) {
            addCriterion("unearthed_overview not between", value1, value2, "unearthedOverview");
            return (Criteria) this;
        }

        public Criteria andNumberIsNull() {
            addCriterion("number is null");
            return (Criteria) this;
        }

        public Criteria andNumberIsNotNull() {
            addCriterion("number is not null");
            return (Criteria) this;
        }

        public Criteria andNumberEqualTo(String value) {
            addCriterion("number =", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotEqualTo(String value) {
            addCriterion("number <>", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThan(String value) {
            addCriterion("number >", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThanOrEqualTo(String value) {
            addCriterion("number >=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThan(String value) {
            addCriterion("number <", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThanOrEqualTo(String value) {
            addCriterion("number <=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLike(String value) {
            addCriterion("number like", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotLike(String value) {
            addCriterion("number not like", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberIn(List<String> values) {
            addCriterion("number in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotIn(List<String> values) {
            addCriterion("number not in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberBetween(String value1, String value2) {
            addCriterion("number between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotBetween(String value1, String value2) {
            addCriterion("number not between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andUnearthedTransferIsNull() {
            addCriterion("unearthed_transfer is null");
            return (Criteria) this;
        }

        public Criteria andUnearthedTransferIsNotNull() {
            addCriterion("unearthed_transfer is not null");
            return (Criteria) this;
        }

        public Criteria andUnearthedTransferEqualTo(String value) {
            addCriterion("unearthed_transfer =", value, "unearthedTransfer");
            return (Criteria) this;
        }

        public Criteria andUnearthedTransferNotEqualTo(String value) {
            addCriterion("unearthed_transfer <>", value, "unearthedTransfer");
            return (Criteria) this;
        }

        public Criteria andUnearthedTransferGreaterThan(String value) {
            addCriterion("unearthed_transfer >", value, "unearthedTransfer");
            return (Criteria) this;
        }

        public Criteria andUnearthedTransferGreaterThanOrEqualTo(String value) {
            addCriterion("unearthed_transfer >=", value, "unearthedTransfer");
            return (Criteria) this;
        }

        public Criteria andUnearthedTransferLessThan(String value) {
            addCriterion("unearthed_transfer <", value, "unearthedTransfer");
            return (Criteria) this;
        }

        public Criteria andUnearthedTransferLessThanOrEqualTo(String value) {
            addCriterion("unearthed_transfer <=", value, "unearthedTransfer");
            return (Criteria) this;
        }

        public Criteria andUnearthedTransferLike(String value) {
            addCriterion("unearthed_transfer like", value, "unearthedTransfer");
            return (Criteria) this;
        }

        public Criteria andUnearthedTransferNotLike(String value) {
            addCriterion("unearthed_transfer not like", value, "unearthedTransfer");
            return (Criteria) this;
        }

        public Criteria andUnearthedTransferIn(List<String> values) {
            addCriterion("unearthed_transfer in", values, "unearthedTransfer");
            return (Criteria) this;
        }

        public Criteria andUnearthedTransferNotIn(List<String> values) {
            addCriterion("unearthed_transfer not in", values, "unearthedTransfer");
            return (Criteria) this;
        }

        public Criteria andUnearthedTransferBetween(String value1, String value2) {
            addCriterion("unearthed_transfer between", value1, value2, "unearthedTransfer");
            return (Criteria) this;
        }

        public Criteria andUnearthedTransferNotBetween(String value1, String value2) {
            addCriterion("unearthed_transfer not between", value1, value2, "unearthedTransfer");
            return (Criteria) this;
        }

        public Criteria andUnearthedRegisterIsNull() {
            addCriterion("unearthed_register is null");
            return (Criteria) this;
        }

        public Criteria andUnearthedRegisterIsNotNull() {
            addCriterion("unearthed_register is not null");
            return (Criteria) this;
        }

        public Criteria andUnearthedRegisterEqualTo(String value) {
            addCriterion("unearthed_register =", value, "unearthedRegister");
            return (Criteria) this;
        }

        public Criteria andUnearthedRegisterNotEqualTo(String value) {
            addCriterion("unearthed_register <>", value, "unearthedRegister");
            return (Criteria) this;
        }

        public Criteria andUnearthedRegisterGreaterThan(String value) {
            addCriterion("unearthed_register >", value, "unearthedRegister");
            return (Criteria) this;
        }

        public Criteria andUnearthedRegisterGreaterThanOrEqualTo(String value) {
            addCriterion("unearthed_register >=", value, "unearthedRegister");
            return (Criteria) this;
        }

        public Criteria andUnearthedRegisterLessThan(String value) {
            addCriterion("unearthed_register <", value, "unearthedRegister");
            return (Criteria) this;
        }

        public Criteria andUnearthedRegisterLessThanOrEqualTo(String value) {
            addCriterion("unearthed_register <=", value, "unearthedRegister");
            return (Criteria) this;
        }

        public Criteria andUnearthedRegisterLike(String value) {
            addCriterion("unearthed_register like", value, "unearthedRegister");
            return (Criteria) this;
        }

        public Criteria andUnearthedRegisterNotLike(String value) {
            addCriterion("unearthed_register not like", value, "unearthedRegister");
            return (Criteria) this;
        }

        public Criteria andUnearthedRegisterIn(List<String> values) {
            addCriterion("unearthed_register in", values, "unearthedRegister");
            return (Criteria) this;
        }

        public Criteria andUnearthedRegisterNotIn(List<String> values) {
            addCriterion("unearthed_register not in", values, "unearthedRegister");
            return (Criteria) this;
        }

        public Criteria andUnearthedRegisterBetween(String value1, String value2) {
            addCriterion("unearthed_register between", value1, value2, "unearthedRegister");
            return (Criteria) this;
        }

        public Criteria andUnearthedRegisterNotBetween(String value1, String value2) {
            addCriterion("unearthed_register not between", value1, value2, "unearthedRegister");
            return (Criteria) this;
        }

        public Criteria andExcResultIsNull() {
            addCriterion("exc_result is null");
            return (Criteria) this;
        }

        public Criteria andExcResultIsNotNull() {
            addCriterion("exc_result is not null");
            return (Criteria) this;
        }

        public Criteria andExcResultEqualTo(String value) {
            addCriterion("exc_result =", value, "excResult");
            return (Criteria) this;
        }

        public Criteria andExcResultNotEqualTo(String value) {
            addCriterion("exc_result <>", value, "excResult");
            return (Criteria) this;
        }

        public Criteria andExcResultGreaterThan(String value) {
            addCriterion("exc_result >", value, "excResult");
            return (Criteria) this;
        }

        public Criteria andExcResultGreaterThanOrEqualTo(String value) {
            addCriterion("exc_result >=", value, "excResult");
            return (Criteria) this;
        }

        public Criteria andExcResultLessThan(String value) {
            addCriterion("exc_result <", value, "excResult");
            return (Criteria) this;
        }

        public Criteria andExcResultLessThanOrEqualTo(String value) {
            addCriterion("exc_result <=", value, "excResult");
            return (Criteria) this;
        }

        public Criteria andExcResultLike(String value) {
            addCriterion("exc_result like", value, "excResult");
            return (Criteria) this;
        }

        public Criteria andExcResultNotLike(String value) {
            addCriterion("exc_result not like", value, "excResult");
            return (Criteria) this;
        }

        public Criteria andExcResultIn(List<String> values) {
            addCriterion("exc_result in", values, "excResult");
            return (Criteria) this;
        }

        public Criteria andExcResultNotIn(List<String> values) {
            addCriterion("exc_result not in", values, "excResult");
            return (Criteria) this;
        }

        public Criteria andExcResultBetween(String value1, String value2) {
            addCriterion("exc_result between", value1, value2, "excResult");
            return (Criteria) this;
        }

        public Criteria andExcResultNotBetween(String value1, String value2) {
            addCriterion("exc_result not between", value1, value2, "excResult");
            return (Criteria) this;
        }

        public Criteria andProblemIsNull() {
            addCriterion("problem is null");
            return (Criteria) this;
        }

        public Criteria andProblemIsNotNull() {
            addCriterion("problem is not null");
            return (Criteria) this;
        }

        public Criteria andProblemEqualTo(String value) {
            addCriterion("problem =", value, "problem");
            return (Criteria) this;
        }

        public Criteria andProblemNotEqualTo(String value) {
            addCriterion("problem <>", value, "problem");
            return (Criteria) this;
        }

        public Criteria andProblemGreaterThan(String value) {
            addCriterion("problem >", value, "problem");
            return (Criteria) this;
        }

        public Criteria andProblemGreaterThanOrEqualTo(String value) {
            addCriterion("problem >=", value, "problem");
            return (Criteria) this;
        }

        public Criteria andProblemLessThan(String value) {
            addCriterion("problem <", value, "problem");
            return (Criteria) this;
        }

        public Criteria andProblemLessThanOrEqualTo(String value) {
            addCriterion("problem <=", value, "problem");
            return (Criteria) this;
        }

        public Criteria andProblemLike(String value) {
            addCriterion("problem like", value, "problem");
            return (Criteria) this;
        }

        public Criteria andProblemNotLike(String value) {
            addCriterion("problem not like", value, "problem");
            return (Criteria) this;
        }

        public Criteria andProblemIn(List<String> values) {
            addCriterion("problem in", values, "problem");
            return (Criteria) this;
        }

        public Criteria andProblemNotIn(List<String> values) {
            addCriterion("problem not in", values, "problem");
            return (Criteria) this;
        }

        public Criteria andProblemBetween(String value1, String value2) {
            addCriterion("problem between", value1, value2, "problem");
            return (Criteria) this;
        }

        public Criteria andProblemNotBetween(String value1, String value2) {
            addCriterion("problem not between", value1, value2, "problem");
            return (Criteria) this;
        }

        public Criteria andAdviceIsNull() {
            addCriterion("advice is null");
            return (Criteria) this;
        }

        public Criteria andAdviceIsNotNull() {
            addCriterion("advice is not null");
            return (Criteria) this;
        }

        public Criteria andAdviceEqualTo(String value) {
            addCriterion("advice =", value, "advice");
            return (Criteria) this;
        }

        public Criteria andAdviceNotEqualTo(String value) {
            addCriterion("advice <>", value, "advice");
            return (Criteria) this;
        }

        public Criteria andAdviceGreaterThan(String value) {
            addCriterion("advice >", value, "advice");
            return (Criteria) this;
        }

        public Criteria andAdviceGreaterThanOrEqualTo(String value) {
            addCriterion("advice >=", value, "advice");
            return (Criteria) this;
        }

        public Criteria andAdviceLessThan(String value) {
            addCriterion("advice <", value, "advice");
            return (Criteria) this;
        }

        public Criteria andAdviceLessThanOrEqualTo(String value) {
            addCriterion("advice <=", value, "advice");
            return (Criteria) this;
        }

        public Criteria andAdviceLike(String value) {
            addCriterion("advice like", value, "advice");
            return (Criteria) this;
        }

        public Criteria andAdviceNotLike(String value) {
            addCriterion("advice not like", value, "advice");
            return (Criteria) this;
        }

        public Criteria andAdviceIn(List<String> values) {
            addCriterion("advice in", values, "advice");
            return (Criteria) this;
        }

        public Criteria andAdviceNotIn(List<String> values) {
            addCriterion("advice not in", values, "advice");
            return (Criteria) this;
        }

        public Criteria andAdviceBetween(String value1, String value2) {
            addCriterion("advice between", value1, value2, "advice");
            return (Criteria) this;
        }

        public Criteria andAdviceNotBetween(String value1, String value2) {
            addCriterion("advice not between", value1, value2, "advice");
            return (Criteria) this;
        }

        public Criteria andProjectReportIsNull() {
            addCriterion("project_report is null");
            return (Criteria) this;
        }

        public Criteria andProjectReportIsNotNull() {
            addCriterion("project_report is not null");
            return (Criteria) this;
        }

        public Criteria andProjectReportEqualTo(String value) {
            addCriterion("project_report =", value, "projectReport");
            return (Criteria) this;
        }

        public Criteria andProjectReportNotEqualTo(String value) {
            addCriterion("project_report <>", value, "projectReport");
            return (Criteria) this;
        }

        public Criteria andProjectReportGreaterThan(String value) {
            addCriterion("project_report >", value, "projectReport");
            return (Criteria) this;
        }

        public Criteria andProjectReportGreaterThanOrEqualTo(String value) {
            addCriterion("project_report >=", value, "projectReport");
            return (Criteria) this;
        }

        public Criteria andProjectReportLessThan(String value) {
            addCriterion("project_report <", value, "projectReport");
            return (Criteria) this;
        }

        public Criteria andProjectReportLessThanOrEqualTo(String value) {
            addCriterion("project_report <=", value, "projectReport");
            return (Criteria) this;
        }

        public Criteria andProjectReportLike(String value) {
            addCriterion("project_report like", value, "projectReport");
            return (Criteria) this;
        }

        public Criteria andProjectReportNotLike(String value) {
            addCriterion("project_report not like", value, "projectReport");
            return (Criteria) this;
        }

        public Criteria andProjectReportIn(List<String> values) {
            addCriterion("project_report in", values, "projectReport");
            return (Criteria) this;
        }

        public Criteria andProjectReportNotIn(List<String> values) {
            addCriterion("project_report not in", values, "projectReport");
            return (Criteria) this;
        }

        public Criteria andProjectReportBetween(String value1, String value2) {
            addCriterion("project_report between", value1, value2, "projectReport");
            return (Criteria) this;
        }

        public Criteria andProjectReportNotBetween(String value1, String value2) {
            addCriterion("project_report not between", value1, value2, "projectReport");
            return (Criteria) this;
        }

        public Criteria andRelateInfoIsNull() {
            addCriterion("relate_info is null");
            return (Criteria) this;
        }

        public Criteria andRelateInfoIsNotNull() {
            addCriterion("relate_info is not null");
            return (Criteria) this;
        }

        public Criteria andRelateInfoEqualTo(String value) {
            addCriterion("relate_info =", value, "relateInfo");
            return (Criteria) this;
        }

        public Criteria andRelateInfoNotEqualTo(String value) {
            addCriterion("relate_info <>", value, "relateInfo");
            return (Criteria) this;
        }

        public Criteria andRelateInfoGreaterThan(String value) {
            addCriterion("relate_info >", value, "relateInfo");
            return (Criteria) this;
        }

        public Criteria andRelateInfoGreaterThanOrEqualTo(String value) {
            addCriterion("relate_info >=", value, "relateInfo");
            return (Criteria) this;
        }

        public Criteria andRelateInfoLessThan(String value) {
            addCriterion("relate_info <", value, "relateInfo");
            return (Criteria) this;
        }

        public Criteria andRelateInfoLessThanOrEqualTo(String value) {
            addCriterion("relate_info <=", value, "relateInfo");
            return (Criteria) this;
        }

        public Criteria andRelateInfoLike(String value) {
            addCriterion("relate_info like", value, "relateInfo");
            return (Criteria) this;
        }

        public Criteria andRelateInfoNotLike(String value) {
            addCriterion("relate_info not like", value, "relateInfo");
            return (Criteria) this;
        }

        public Criteria andRelateInfoIn(List<String> values) {
            addCriterion("relate_info in", values, "relateInfo");
            return (Criteria) this;
        }

        public Criteria andRelateInfoNotIn(List<String> values) {
            addCriterion("relate_info not in", values, "relateInfo");
            return (Criteria) this;
        }

        public Criteria andRelateInfoBetween(String value1, String value2) {
            addCriterion("relate_info between", value1, value2, "relateInfo");
            return (Criteria) this;
        }

        public Criteria andRelateInfoNotBetween(String value1, String value2) {
            addCriterion("relate_info not between", value1, value2, "relateInfo");
            return (Criteria) this;
        }

        public Criteria andAccidentDealIsNull() {
            addCriterion("accident_deal is null");
            return (Criteria) this;
        }

        public Criteria andAccidentDealIsNotNull() {
            addCriterion("accident_deal is not null");
            return (Criteria) this;
        }

        public Criteria andAccidentDealEqualTo(String value) {
            addCriterion("accident_deal =", value, "accidentDeal");
            return (Criteria) this;
        }

        public Criteria andAccidentDealNotEqualTo(String value) {
            addCriterion("accident_deal <>", value, "accidentDeal");
            return (Criteria) this;
        }

        public Criteria andAccidentDealGreaterThan(String value) {
            addCriterion("accident_deal >", value, "accidentDeal");
            return (Criteria) this;
        }

        public Criteria andAccidentDealGreaterThanOrEqualTo(String value) {
            addCriterion("accident_deal >=", value, "accidentDeal");
            return (Criteria) this;
        }

        public Criteria andAccidentDealLessThan(String value) {
            addCriterion("accident_deal <", value, "accidentDeal");
            return (Criteria) this;
        }

        public Criteria andAccidentDealLessThanOrEqualTo(String value) {
            addCriterion("accident_deal <=", value, "accidentDeal");
            return (Criteria) this;
        }

        public Criteria andAccidentDealLike(String value) {
            addCriterion("accident_deal like", value, "accidentDeal");
            return (Criteria) this;
        }

        public Criteria andAccidentDealNotLike(String value) {
            addCriterion("accident_deal not like", value, "accidentDeal");
            return (Criteria) this;
        }

        public Criteria andAccidentDealIn(List<String> values) {
            addCriterion("accident_deal in", values, "accidentDeal");
            return (Criteria) this;
        }

        public Criteria andAccidentDealNotIn(List<String> values) {
            addCriterion("accident_deal not in", values, "accidentDeal");
            return (Criteria) this;
        }

        public Criteria andAccidentDealBetween(String value1, String value2) {
            addCriterion("accident_deal between", value1, value2, "accidentDeal");
            return (Criteria) this;
        }

        public Criteria andAccidentDealNotBetween(String value1, String value2) {
            addCriterion("accident_deal not between", value1, value2, "accidentDeal");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}